##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.web import make_config, get_page_paths, make_image
from pygolem_lite import Shot
page_path, base_path, page = get_page_paths(shot, page)
%>
<a href="main.py">[Source - main.py]</a><br/>
<a href="CalcIonProjections.py">[Source - CalcIonProjections.py]</a><br/>
<a href="CalcDensTemp.py">[Source - CalcDensTemp.py]</a><br/>
% if Shot(shot)['plasma']:
${make_image("graphs/RelativeIntensity.png" , "Relative ions intensity")}
${make_image("graphs/RadiatedEnergy.png" , "Radiated energy by ions")}
${Shot(shot).get_pygolem_list(['spectrometr:projections','spectrometr:energy_coefficients'])}
%else:
<h2>No plasma</h2>
%endif